Extending an ORDBMS: The StateMachine Module

نویسندگان

  • Wolfgang Mahnke
  • Christian Mathis
  • Hans-Peter Steiert
چکیده

Extensibility is one of the mayor benefits of object -relational database management systems. We have used this system property to implement a StateMachine Module inside an object-relational database management system. The module allows the checking of dynamic integrity constraints as well as the execution of active behavior specified with the UML. Our approach demonstrates that extensibility can effectively be applied to integrate such dynamic aspects specified with UML statecharts into an object-relational database management system. 1 Motivation Object-relational database management systems (ORD-BMS) enable us to extend their off-the-shelf functionality by self-developed extension modules [6]. This allows us to adopt an ORDBMS to the needs of several application domains. Our demonstration illustrates how this feature can be exploited to equip an ORDBMS with a module which handles dynamic aspects inside the database system. In our SERUM project [3], we use an object-oriented specification as an input to generate data storage components. Since UML [4] offers a rich set of object-oriented constructs and is widely used, we have chosen it as specification language. Class diagrams are used to describe the data structures, and the mapping of these structures to an object-relational schema is straightforward. Each class of the class diagram is mapped to a row type and a typed table in the database schema. Inheritance relationships can be mapped onto table inheritance (see [2] for details and problems with multiple inheritance). Methods declared in the class diagram are implemented as user-defined routines (UDRs) in the ORDBMS, and associations can be established in several ways, e.g., by using foreign keys. These mappings do not only apply to the SERUM context, but are a general approach when implementing an object-relation-al schema on the basis of an object-oriented specification. In addition, the capabilities of ORDBMSs allow to consider dynamic modelling aspects, too. UML statechart diagrams are an appropriate way to specify these aspects. In the context of ORDBMS-based data storage components, statecharts can be used for two purposes [5]: • Observing dynamic integrity constraints In contrast to static integrity constraints describing the correctness of a database state, dynamic integrity constraints restrict the transitions between different states. For this purpose, valid sequences of operations, pre-and post-conditions for transitions, and state-dependent invariants can be specified. Whenever such a constraint is being violated, the conflicting operation has to be prevented. • Implementing active behavior Statecharts can be used to specify functionality in form of actions which have to …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Modules whose direct summands are FI-extending

‎A module $M$ is called FI-extending if every fully invariant submodule of $M$ is essential in a direct summand of $M$‎. ‎It is not known whether a direct summand of an FI-extending module is also FI-extending‎. ‎In this study‎, ‎it is given some answers to the question that under what conditions a direct summand of an FI-extending module is an FI-extending module?

متن کامل

A relative extending module and torsion precovers

We first characterize $tau$-complemented modules with relative (pre)-covers. We also introduce an extending module relative to $tau$-pure submodules on a hereditary torsion theory $tau$ and give its relationship with $tau$-complemented modules.

متن کامل

$PI$-extending modules via nontrivial complex bundles and Abelian endomorphism rings

A module is said to be $PI$-extending provided that every projection invariant submodule is essential in a direct summand of the module. In this paper, we focus on direct summands and indecomposable decompositions of $PI$-extending modules. To this end, we provide several counter examples including the tangent bundles of complex spheres of dimensions bigger than or equal to 5 and certain hyper ...

متن کامل

On Ads-modules with the SIP

 The class of ads modules with the SIP (briefly‎, ‎$SA$-modules) is studied‎. ‎Various conditions for a module to be $SA$-module are given‎. ‎It is proved that for a quasi-continuous module $M$‎, ‎$M$ is a UC-module if and only if $M$ is an $SA$-module‎. ‎Also‎, ‎it is proved that the direct sum of two $SA$-modules as $R$-modules is an $SA$-module when $R$ is the sum of the annihilators of thes...

متن کامل

A Self-Healing Mechanism for State Machine Based Components

This article describes a self-healing mechanism for statemachine based distributed components. Each component is composed of two layers: a healing (HL) and a service or functional layer (FL). At least, the functional layer must be implemented according to a statemachine specification. The healing layer has the capacity of monitoring the service layer of the component of witch it is a part and r...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002